package com.cyh.core.framework.domain.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class SimplePageDTO {

    private Integer page;

    private Integer pageSize;

    public void Check(){
        if ( page == null ){
            page = new Integer(0);
        }
        if ( pageSize == null ){
            pageSize = new Integer(10);
        }
    }

}
